﻿using AutoMapper;
using DoNet.Core.Dtos;
using DoNet.System.Models;

namespace DoNet.System.Dtos
{
    /// <summary>
    /// 输入对象模型
    /// </summary>
    [AutoMap(typeof(App))]
    [Serializable]
    public class AppInputDto : IInputDto
    {
        /// <summary>
        /// 设置或获取 
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 设置或获取 
        /// </summary>
        public string AppId { get; set; } = string.Empty;

        /// <summary>
        /// 设置或获取 
        /// </summary>
        public string AppSecret { get; set; } = string.Empty;

        /// <summary>
        /// 设置或获取 
        /// </summary>
        public string EncodingAESKey { get; set; } = string.Empty;

        /// <summary>
        /// 设置或获取 
        /// </summary>
        public string RequestUrl { get; set; } = string.Empty;

        /// <summary>
        /// 设置或获取 
        /// </summary>
        public string Token { get; set; } = string.Empty;

        /// <summary>
        /// 设置或获取 
        /// </summary>
        public bool IsOpenAEKey { get; set; }

        /// <summary>
        /// 设置或获取 
        /// </summary>
        public bool EnabledMark { get; set; }

        /// <summary>
        /// 设置或获取 
        /// </summary>
        public string Description { get; set; } = string.Empty;
    }
}
